package mappings;

import java.util.Set;

public class Producent
{
    private Integer id;
    private String name;
    private Set producentCompositions;

    public Integer getId()
    {
        return id;
    }

    public Producent()
    {
    }

    public Producent(String name)
    {
        this.name = name;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public Set getProducentCompositions()
    {
        return producentCompositions;
    }

    public void setProducentCompositions(Set producentCompositions)
    {
        this.producentCompositions = producentCompositions;
    }
}
